package net.trustie.dao;

import net.trustie.model.oschina_project_Model;

import org.apache.ibatis.annotations.Insert;

public interface OSChinaProject_Dao {	
//
//	@Insert("insert into oschina_project_new"
//			+ "(`name`,`url`,`projectTitle`,`category`,`description`,"
//			+ "`download_num`,`followers_num`,`license`,`language`,`projectOS`,"
//			+ "`IncludedTime`,`exteactTime`,`pageMD5`,`history`,`homepage`,`doc_url`,`downlaod_url`)"
//			
//		
//			
//+ " values (#{projectShortName},#{projectUrl},#{projectTitle},#{projectCategory},"
//+ "#{projectDesc},#{usedNum},#{housedNum},#{projectLicenses},"
//+ "#{projectLanguage},#{projectOS},#{IncludedTime},#{exteactTime},#{pageMD5},#{history},#{homepage},#{doc_url},#{download_url})")

	@Insert("insert into oschina_project"
			+ "(`created_time`,`tags`,`source`,`url_md5`,`name`,`url`,`oschina_name`,`description`,"
			+ "`user_num`,`star_num`,`license`,`language`,`platform`,"
			+ "`extracted_time`,`homepage`,`document_link`,`download_link`)"
			
		
			
+ "values (#{IncludedTime},#{projectCategory},#{source},#{url_md5},#{projectShortName},#{projectUrl},#{projectTitle},"
+ "#{projectDesc},#{usedNum},#{housedNum},#{projectLicenses},"
+ "#{projectLanguage},#{projectOS},#{exteactTime},#{homepage},#{doc_url},#{download_url})")
	
	public int add(oschina_project_Model project_Model);
}
